package cn.lcc.basic.mapper;


import cn.lcc.basic.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {
    List<T> loadAll();
    T loadById(Long id);
    void save(T t);
    void update(T t);
    void del(Long id);
    Integer queryCount(BaseQuery baseQuery);
    List<T> queryData(BaseQuery baseQuery);
    void patchDel(Long[] ids);
}
